package com.xuantian.baoming;

import com.xuantian.baoming.config.wxPayConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import java.io.InputStream;


@SpringBootApplication
@EnableScheduling
@MapperScan("com.xuantian.baoming.mapper")
@EnableTransactionManagement
public class BaomingApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(BaomingApplication.class, args);
        wxPayConfig bean = run.getBean(wxPayConfig.class);
        System.out.println("启动成功------");
    }
}
